package xyz.gzdxc.es.model;

import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "es-index")
public class DemoModel{

    private String id;

    private String appName;

    private String appEnv;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppEnv() {
        return appEnv;
    }

    public void setAppEnv(String appEnv) {
        this.appEnv = appEnv;
    }

    @Override
    public String toString() {
        return "DemoModel{" +
                "id='" + id + '\'' +
                ", appName='" + appName + '\'' +
                ", appEnv='" + appEnv + '\'' +
                '}';
    }
}